package com.lazi.june.common.exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * desc:
 *
 * @author huliqian
 * @since 2025/8/21
 */
@Getter
@AllArgsConstructor
public enum ExceptionEnum implements ExceptionService {


    SUCCESS(0, "OK"),
    SYSTEM_UNKNOWN(1000, "System Unknown Error"),
    SYSTEM_SERVER_ERROR(1001, "System Server Error"),
    ERROR_REQUEST_PARAM(1002, "There is an error in the request parameter"),
    ERROR_PARAM_VALID(1003, "Request Parameter Verification Failed"),
    ERROR_DATA_NOT_FOUND(1004, "Data Does Not Exist"),
    ERROR_RESOURCE_NOT_FOUND(1004, "No Resource Found"),
    ERROR_USER_DEFECT_TOKEN(1005, "Token Not Found"),
    ERROR_USER_INFO_CONVERT(1006, "User Convert Error"),



    ;


    private final int code;

    private final String message;


}
